Skip to content

Conversation

@chenjiahan
Copy link
Member

Summary

Integrate the rspress-plugin-sitemap to generate the sitemap for SEO.

Checklist

  • Tests updated (or not required).
  • Documentation updated (or not required).

@netlify
Copy link

netlify bot commented Jun 10, 2025

Deploy Preview for rslib ready!

Name Link
🔨 Latest commit b652d65
🔍 Latest deploy log https://app.netlify.com/projects/rslib/deploys/6847c2fd9edacc000802e313
😎 Deploy Preview https://deploy-preview-1049--rslib.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

Integrate the rspress-plugin-sitemap to automatically generate a sitemap for improved SEO.

  • Add the sitemap plugin to the RSPress configuration
  • Declare rspress-plugin-sitemap as a project dependency

Reviewed Changes

Copilot reviewed 2 out of 3 changed files in this pull request and generated no comments.

File Description
website/rspress.config.ts Import and register pluginSitemap in the plugin list
website/package.json Add rspress-plugin-sitemap to dependencies
Files not reviewed (1)
  • pnpm-lock.yaml: Language not supported
Comments suppressed due to low confidence (2)

website/rspress.config.ts:49

  • No tests were added or updated to verify that the sitemap is generated correctly. Consider adding an integration or unit test to ensure the plugin produces a valid sitemap.xml with expected URLs.
pluginSitemap({

website/rspress.config.ts:13

  • The README or site documentation hasn’t been updated to reference the new sitemap functionality. Consider documenting how to configure and verify the sitemap in the project docs.
import pluginSitemap from 'rspress-plugin-sitemap';

@Timeless0911 Timeless0911 merged commit 091b22e into main Jun 10, 2025
15 checks passed
@Timeless0911 Timeless0911 deleted the add_sitemap_0610 branch June 10, 2025 06:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants